<<<<<<< .mine
// LEVEL
function CircuitLevel(type){
    this.name = "levelCircuit";
    Sprite.apply(this); // dedim stage  
    Level.apply(this); // dedim level 
    this.requiredTime = 60;
    this.type = type;
    this.playGround = null;
    this.manual = new Manual (Game.picturesPath + "levels/"+this.name + "/");
    this.init = init;
    
    function init(){
        var x = MainContainerWidth/2 - len*size/2;
        var y = MainContainerHeight/2 - len*size/2;
        this.playGround = new Playground(x,y);
        this.playGround.init();
        this.playGround.miesanie();
        this.addChild(this.playGround);
        this.addChild (this.manual);
    }  
}
CircuitLevel.prototype = new Sprite(); // toto musi byt  =======
// LEVEL
function CircuitLevel(name, level, type){
    Sprite.apply(this); // dedim stage  
    Level.apply(this); // dedim level  
    this.name = name;
    this.level = level;
    this.type = type;
    //this.canvas = canvas;
    this.playGround;
                
    this.init = init;
    function init(){
        var x = cwidth/2 - len*size/2;
        var y = cheight/2 - len*size/2;
        this.playGround = new Playground(x,y);
        this.playGround.init();
        this.playGround.miesanie();
        this.addChild(this.playGround);
    }  
}
CircuitLevel.prototype = new Sprite(); // toto musi byt  
CircuitLevel.prototype = new Level();>>>>>>> .r36
